import React from 'react';

const Index = (props: any) => {
  return (
    <div>
      <h2>Header</h2>
      {props.children}
      <h2>Footer</h2>
    </div>
  );
};

export default Index;
